package jin.service;

import jin.dao.UserDao;
import jin.model.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by Administrator on 2016/11/8.
 */
@Service
public class UserService {

    @Autowired
    private UserDao userDao;

    public User getUserByUsername(String username){
        return userDao.findUserByUsername(username);
    }

}
